import config from "../config/api/user";
import http from "../http/http";

/*
登录接口，获取登录信息
@return promise


*/

export let getUserInfo = (params) => {
  return http.get(config.userInfoApi, params);
};

//获取全部身份信息
export let getUserIdentity = (params) => {
  return http.get(config.userIdentityApi, params);
};
//添加身份信息
export let addUserIdentity = (params) => {
  return http.get(config.addIdentityApi, params);
};
